package com.yenroc.invoice.pojo.xml;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "Additional")
@XmlAccessorType(XmlAccessType.FIELD)
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class AdditionalXmlDTO {
    /**
     * 信息名称
     */
    @XmlElement(name = "Information")
    private String information;

    /**
     * 信息类型
     */
    @XmlElement(name = "InformationType")
    private String informationType;

    /**
     * 信息值
     */
    @XmlElement(name = "InformationValue")
    private String informationValue;
}